package wili.insertCode;

import java.util.List;

/**
 * 
 * @author weila 2022年6月23日
 */
class BracketPart implements Cloneable {
	String s0;

	int from, to;

	String meSt;

	public List<BracketPart> sons;

	public String toString() {
		return from + "~" + to;
	}

	public BracketPart(String st) {
		this.meSt = st;
	}

	public BracketPart(String s0, int from, int to) {
		this.s0 = s0;
		this.from = from;
		this.to = to;
	}

	public BracketPart clone() {
		BracketPart ret;
		try {
			ret = (BracketPart) super.clone();
			return ret;
		} catch (CloneNotSupportedException e) {
			throw new RuntimeException(e);
		}
	}
}